/* *{
  box-sizing:border-box !important;
} */
:root {
  --scrollbar-bg: rgba(0, 0, 0, 0.15);
  --scrollbar-hover: rgba(0, 0, 0, 0.25);
}
/* element.var.css */
:root {
  --el-color-primary: #409eff;
  --el-color-success: #67c23a;
  --el-color-warning: #e6a23c;
  --el-color-danger: #f56c6c;
  --el-color-error: #f56c6c;
  --el-color-info: #909399;
 
}
.dark {
  --scrollbar-bg: rgba(255, 255, 255, 0.45);
  --scrollbar-hover: rgba(255, 255, 255, 0.25);
}

/* 修改滚动条样式 */
*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
  border-radius: 2.5px;
  transition: 0.35s background-color;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-hover);
}

*::-webkit-scrollbar-track {
  background-color: transparent;
}

/* tailwind */
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-pos-x {
  left: 50%;
  transform: translateX(-50%);
}

.center-pos-y {
  top: 50%;
  transform: translateY(-50%);
}

.click {
  cursor: pointer;
  user-select: none;
}

/* base */
.emoji-img {
  display: inline-block !important;
}

#canvas {
  position:fixed;
  z-index:1000;
  max-width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  user-select: none;
  opacity: 0.7;
}

.hot-tag {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  padding: 6px 10px 5px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  color: #bba557;
  border-radus: 5px;
  cursor: pointer;
}

.overflow-text-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.overflow-text-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
